@(boards: List[is.ru.honn.rupin.domain.Board])

@main(Html("Welcome to your RuPin"), nav = "session") {

<h2>Followers Pins</h2>

<table class="table">
@for(b <- boards){
<tr><td>@b.getCreator()</td></tr>

@for(p <- b.getPins() ){
<tr><td>@p.getDescription()</td></tr>
<tr><td>@p.getLink()</td></tr>
<tr><td>@p.getImage()</td></tr>}
<tr><td><a href="@routes.Session.boardView(b.getName(), b.getCreator().getUsername())">@b.getName()</a></td></tr>
}
</table>
<div class ="actions">
    To add pin: <a class="btn" href="@routes.Session.pinForm()">Add pin</a>

    Go here to: <a class="btn" href="@routes.Session.logOut()">Log out</a>
</div>

}